IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[authorship]') AND TYPE in (N'U'))
BEGIN
CREATE Table authorship
(
    authorship_id INT IDENTITY(1,1) NOT NULL,
    value NVARCHAR(Max) NULL,
    count_of_paint int not null default(0),
    create_date DATETIME DEFAULT(GETDATE()),
    update_date DATETIME,
	CONSTRAINT PK_authorship_id PRIMARY KEY CLUSTERED (authorship_id)
) 
END
GO